feat: add vite+ (vp) as a task runner benchmark#76
Merged
darcyclarke merged 2 commits intomainfrom Mar 14, 2026
Merged
Conversation
Add vp (Vite+) to the benchmarks under 'Task Runners'. Vite+ is a unified web toolchain with its own task runner (vp run). Changes: - scripts/setup.sh: Install vp via curl installer, persist PATH for CI - scripts/variations/common.sh: Add vp to BENCH_INCLUDE, restrict to 'run' variation - scripts/variations/run.sh: Add vp install (prepare) and vp run test (command) - scripts/clean-helpers.sh: Add vp cache cleanup - scripts/generate-chart.js: Add vp color (#4f30e8) - .github/workflows/benchmark.yaml: Add vp to default BENCH_INCLUDE - app/src/types/chart-data.ts: Add 'vp' to all type definitions - app/src/components/icons/vp.tsx: Placeholder icon (pending final SVG) - app/src/components/icons/index.ts: Export Vp icon - app/src/lib/get-icons.ts: Map vp to Vp icon - app/src/lib/utils.ts: Display name 'vite+' - app/src/hooks/use-history-data.ts: Add vp to PACKAGE_MANAGERS - app/src/components/header.tsx: Add dark:text-white for vp icon Note: Icon SVG is a placeholder — final light/dark mode logos pending.
Replace placeholder icon with actual Vite+ brand SVGs: - Dark logo (black brackets + colorful bolt) shown on light backgrounds - Light logo (white brackets + colorful bolt) shown on dark backgrounds - Uses CSS hidden/block dark:hidden/dark:block for theme switching - Removed unnecessary dark:text-white override from header (icon handles it)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Vite+ (
vp) to the benchmarks under Task Runners.Vite+ is a unified web toolchain that includes its own task runner (
vp run). It is installed via its dedicated installer script and runs scripts withvp run <script>.Changes
Benchmark Scripts
scripts/setup.sh: Installsvpvia Vite+ installer, adds~/.vite-plus/binto$PATHand$GITHUB_PATHfor CI persistencescripts/variations/common.sh: AddsvptoBENCH_INCLUDE, restricts torunvariation only (like nx/turbo/node)scripts/variations/run.sh: Addsvp installas prepare step andvp run testas benchmark commandscripts/clean-helpers.sh: Addsvpcache cleanup functionscripts/generate-chart.js: Addsvpwith brand color#4f30e8CI Workflow
.github/workflows/benchmark.yaml: Addsvpto defaultBENCH_INCLUDElistWeb App
app/src/types/chart-data.ts: Adds"vp"toPackageManagertype and all related interfacesapp/src/components/icons/vp.tsx: Placeholder icon component (bolt shape)app/src/components/icons/index.ts: ExportsVpiconapp/src/lib/get-icons.ts: MapsvptoVpiconapp/src/lib/utils.ts: Display namevite+for leaderboard/tooltipsapp/src/hooks/use-history-data.ts: Addsvpto package managers listapp/src/components/header.tsx: Addsdark:text-whiteclass forvpiconPending: Logo SVGs
The icon is currently a placeholder (lightning bolt). The actual light/dark mode SVG logos were shared via Wormhole links (encrypted file sharing) which I couldn't programmatically download. Once the SVGs are available as files or raw content, I'll update
app/src/components/icons/vp.tsxwith the proper paths.How vp is benchmarked
vp installvp run testvp cache cleanLike nx, turbo, and node, vp only runs in the
runvariation (task execution), not in package management install variations.